package com.dinree.utils;

import android.content.Context;
import android.content.Intent;

import com.dinree.activity.WebActivity;

/**
 * @author 谢铖志 on 2017/12/11 12:47
 * @version V1.0
 * @modificationHistory
 * @modify by user: 谢铖志 on 2017/12/11 12:47
 */

public class LaunchUtil {
    public static void launchActivityByUrl(Context context, String url) {
        Intent intent = new Intent(context, WebActivity.class);
        intent.putExtra("url", url);
        context.startActivity(intent);
    }
}
